package org.example.bigdata.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.example.bigdata.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author Jmx
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-04-29 10:55:09
* @Entity org.example.bigdata.entity.User
*/

public interface UserMapper extends BaseMapper<User> {

    @Update("update user set redBook_id = #{redBook_id} where phone=#{phone}")
    public void updateRedBook(String phone,String redBook_id);
}




